// ------------------------------------------------------ Naming ------------------------------------------------------
Name HMS Warspite
ShortName hmswarspite
ItemID 7464
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon iconhmswarspite
Model CowPack.hmswarspite
Texture skinhmswarspite
//Third Person Camera Distance
CameraDistance 50.0
// ------------------------------------------------------ Movement ------------------------------------------------------
//Throttle
MaxThrottle 0.5
MaxNegativeThrottle 0.2
//Steering modifiers
TurnLeftSpeed 0.3
TurnRightSpeed 0.3
Drag 10.0
//For calculating whether wheels are on the ground or not for driving
WheelRadius 1.0
//Wheel positions for collision handling. Tanks still have 4 wheels, they are just the corner ones.
WheelPosition 0 -102 -44 -48
WheelPosition 1 -102 -44 48
WheelPosition 2 600 -44 48
WheelPosition 3 600 -44 -48
WheelSpringStrength 0.5
//If true, then all wheels will apply drive forces
FourWheelDrive false
// ------------------------------------------------------ Weaponry ------------------------------------------------------
//Weapon types. Options are Missile, Bomb, Gun, Shell, None
Primary Shell
Secondary Gun
//Time between shots in 1/20ths of seconds
ShootDelayPrimary 16
ShootDelaySecondary 3
//Whether to alternate or fire all together
AlternatePrimary False
AlternateSecondary False
//Firing modes. One of SemiAuto, FullAuto or Minigun
ModePrimary FullAuto
ModeSecondary FullAuto
//Add shoot origins. These are the points on your vehicle from which bullets / missiles / shells / bombs appear
ShootPointPrimary 21 87 60 turret 40mmaa
ShootPointPrimary -26 78 52 turret 40mmaa
ShootPointPrimary 21 87 -60 turret 40mmaa
ShootPointPrimary -26 78 -52 turret 40mmaa
ShootPointSecondary -109 71 -41 turret 50calaagun
ShootPointSecondary -148 72 -33 turret 50calaagun
ShootPointSecondary -148 72 33 turret 50calaagun
ShootPointSecondary -109 71 41 turret 50calaagun
ShootPointSecondary 246 40 -52 turret 50calaagun
ShootPointSecondary 246 40 52 turret 50calaagun
ShootPointSecondary 426 40 -32 turret 50calaagun
ShootPointSecondary 426 40 32 turret 50calaagun
ShootPointSecondary 486 41 1 turret 50calaagun
// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 0
BombSlots 0
MissileSlots 0
AllowAllAmmo False
AddAmmo
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 8000
// ------------------------------------------------------ Passengers ------------------------------------------------------
Driver 144 84 0 -360 360 -5 85
Passengers 4
Passenger 1 197 27 0 core -135 135 -5 20 381mmnaval PassengerGun1
GunOrigin 1 197 -27 0
Passenger 2 272 10 0 core -135 135 -5 20 381mmnaval PassengerGun2
GunOrigin 2 272 -10 0
Passenger 3 -259 11 0 core 45 315 -5 20 381mmnaval PassengerGun3
GunOrigin 3 -259 -11 0
Passenger 4 -339 -5 0 core 45 315 -5 20 381mmnaval PassengerGun4
GunOrigin 4 -339 -5 0
// ------------------------------------------------------- Sounds -------------------------------------------------------
StartSound shipmove
StartSoundLength 10
EngineSound shipmove
EngineSoundLength 25
ShootSoundPrimary 30mmaashell
ShootSoundSecondary m350calshoot
//Recipe
//Each section of the plane may have many parts
//The sections are tailWheel, tail, bay, topWing, leftWingWheel, leftWing, rightWingWheel,
//rightWing, nose, turret, coreWheel, core
AddRecipeParts core 225 metalcompound 4 cowturret 5 heavyarmorpackage
//Health and collision
SetupPart core 20000 -516 -104 -83 1042 94 168
BulletDetection 20
ModelScale 2.0
Description British Light Cruiser_381mm Cannons_40mm AA Rounds_12.7mm AA Rounds
Boat
PlaceableOnLand False
PlaceableOnWater True
FloatOnWater True
WheelStepHeight 0
Buoyancy 0.08
CollisionPoint -102 -92 -48 core
CollisionPoint -102 -92 48 core
CollisionPoint 1100 -92 -24 core
CollisionPoint 1100 -92 24 core
CollisionPoint -102 -92 -24 core
CollisionPoint -102 -92 24 core
CollisionPoint 900 -92 -48 core
CollisionPoint 900 -92 48 core
CollisionPoint 100 -92 -48 core
CollisionPoint 100 -92 48 core
CollisionPoint 900 -92 -24 core
CollisionPoint 900 -92 24 core
CollisionPoint 102 -92 -24 core
CollisionPoint 102 -92 24 core
CollisionPoint 700 -92 -48 core
CollisionPoint 700 -92 48 core
CollisionPoint 300 -92 -48 core
CollisionPoint 300 -92 48 core
CollisionPoint 700 -92 -24 core
CollisionPoint 700 -92 24 core
CollisionPoint 302 -92 -24 core
CollisionPoint 302 -92 24 core
CollisionPoint 400 -92 -48 core
CollisionPoint 400 -92 48 core
CollisionPoint 200 -92 -48 core
CollisionPoint 200 -92 48 core
CollisionPoint 400 -92 -24 core
CollisionPoint 400 -92 24 core
CollisionPoint 202 -92 -24 core
CollisionPoint 202 -92 24 core